package com.alibaba.citrus.cr.sales.plan.dto.api.request;

import com.alibaba.citrus.cr.sales.plan.dto.DimensionalityIdentityInterface;
import com.alibaba.cz.base.tool.page.PageRequest;
import lombok.Data;

import java.util.List;

/**
 * @author yuhailin
 * @description:
 * @date 2021-09-16 21:28
 */
@Data
public class PageQueryPlanScItemStatRequest extends PageRequest implements DimensionalityIdentityInterface {
    private static final long serialVersionUID = 1360384264903876519L;

    /**
     * 计划ID
     */
    private String planId;

    /**
     * 汇总类型2：货品维度3：组织维度4：类目维度
     */
    private Integer poolType;

    /**
     * 父级ID
     */
    private String parentId;

    /**
     * 货品ID
     */
    private String scItemId;

    /**
     * 货品ID
     */
    private List<String> scItemIdList;

    /**
     * 类目叶子节点ID
     */
    private String scItemLeafCategoryId;

    /**
     * 类目叶子节点ID
     */
    private List<String> scItemLeafCategoryIdList;

    /**
     * 业务id
     */
    private String bizId;

    /**
     * 1：业务员货品汇总 2：销售部门货品汇总 3：销售渠道货品汇总 4：销售组织货品汇总 5：业务单元货品汇总
     */
    private Integer bizType;

    /**
     * 排序字段
     */
    private String dir;

    /**
     * 是否升序
     */
    private Boolean asc;

    /**
     * 是否查询调整数据, false不查, true查
     */
    private Boolean isAdjustCount = false;

    /**
     * 计划调整任务id
     */
    private String adjustId;

    /**
     * 操作人id
     */
    private String operatorId;
}
